package com.open.order.resp;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class OrderDTO implements Serializable{

	private static final long serialVersionUID = -3171302043447758600L;

	/**
     * 主键ID
     */
    private Long id;
    
    /**
     * 订单流水号
     */
    private String orderSerial;
    
    /**
     * 订单金额 单位分
     */
    private Long payAmount;
    
    
    /**
     * 订单产品json
     */
    private String productJson;
    
    /**
     * 创建人
     */
    private Long createUser;
    
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    
}
